package com.example.wacoffee_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wacoffee_user.pojo.dto.rechargeDTO;
import com.example.wacoffee_user.pojo.entity.User;
import com.example.wacoffee_user.pojo.entity.coupon;

import java.util.List;

public interface IMeService extends IService<User> {

    User login(User user);

    User getMe();

    void addRechargeOrder(double amount);

    List<rechargeDTO> getRechargeOrder();

    void updateInformationById(User user);

    Integer getCouponCount();

    List<coupon> getMyCoupon();

    void checkAndUpdate(Integer currentId);
}
